package com.atnjupt.admin.service.impl;

import com.atnjupt.admin.bean.Book;
import com.atnjupt.admin.dao.BookDao;
import com.atnjupt.admin.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Wizarder
 * @create 2021-10-24 15:30
 */
@Service
public class BookServiceImp implements BookService {
    @Autowired
    BookDao bookDao;

    @Override
    public Book getBook(Integer id) {
        return bookDao.selectBook(id);
    }
}
